{% extends 'home/pub/base.html' %}

{% block zidingyi %}
<!--这里有个坑必须留意以下,我的路由member/addedit  /static前面不能加.-->
<link rel="stylesheet" type="text/css" href="/static/home/public/css/member.css">
<link rel="stylesheet" type="text/css" href="/static/home/public/css/member-app.css">

{% endblock %}


{% block content %}

<div class="mainbody order">
    <div class="container">
        <!-- 面包屑导航 -->
        <div class="crumbs ">
            <ol class="breadcrumb">
                <li class="hidden-xs hidden-sm"><a href="index.html">首页</a></li>
                <li class="active"><a href="/member">我的商城</a></li>
            </ol>
        </div>
        <!-- 面包屑导航 E-->
        <div class="main clearfix">
				<!-- 左侧导航 -->
				<div class="left-nav f-fl hidden-xs hidden-sm">
					<div class="nav-main">
						<a href="javascript:;" class="type-title"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>订单中心</a>
						<a href="/myorder" class="ml">我的订单</a>
						<a href="#" class="ml ">我的回购单</a>
						<a href="#" class="ml ">我的意外保</a>
						<a href="javascript:;" class="type-title"><span class="glyphicon glyphicon-user" aria-hidden="true"></span>个人中心</a>
						<a href="/member/addlist" class="ml ">地址管理</a>
						<a href="#" class="ml ">我的收藏</a>
						<a href="#" class="ml ">消息提醒</a>
						<a href="#" class="ml ">建议反馈</a>
					</div>
				</div><!-- 左侧导航 E-->
				<!-- 右侧内容展示 -->
				<div class="right-content f-fr col-xs-12 col-sm-12">
					<div class="index-main">
                        <!--修改编辑-->
                        <form class="am-form tpl-form-border-form tpl-form-border-br am-u-sm-6 am-u-sm-offset-2" method="post" action="{% url 'addinsert' %}">
                          {% csrf_token %}
                          <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">
                              <font style="vertical-align: inherit;">
                                <font style="vertical-align: inherit;">收货人</font></font> <br>
                            </label>
                            <div class="am-u-sm-9">
                              <input type="text" class="tpl-form-input" name="addname" ><br>
                            </div>
                            <label for="user-name" class="am-u-sm-3 am-form-label">
                              <font style="vertical-align: inherit;">
                                <font style="vertical-align: inherit;">收货地址</font></font>  <br>
                            </label>
                            <div class="am-u-sm-9">
                              <input type="text" class="tpl-form-input" name="adds" ><br>
                            </div>

                            <label for="user-name" class="am-u-sm-3 am-form-label">
                              <font style="vertical-align: inherit;">
                                <font style="vertical-align: inherit;">手机号</font></font>  <br>
                            </label> <br>
                            <div class="am-u-sm-9">
                              <input type="text" class="tpl-form-input" name="addphone" ><br>
                            </div>

                            <div class="am-u-sm-12 am-u-sm-offset-3">

                               <br><input type="checkbox" name="status" value="1" checked>是否设为默认地址

                            </div> <br>



                              <div class="am-u-sm-12 am-u-sm-offset-3">
                                  <div class="am-form-group">
                                      <div class="am-u-sm-9 am-u-sm-push-1">
                                      <button class="am-btn am-btn-primary tpl-btn-bg-color-success ">提交</button>
                                      </div>
                                  </div>
                              </div>
                          </div>
                        </form>

					</div>


				</div>
			</div>
    </div>
</div>

{% endblock %}